<template>
  <div class="source-desc">
    <pre><span class="desc" v-html="curSource" /></pre>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'SourceDetail',
  computed: {
    ...mapGetters([
      'curSource'
    ])
  }
}
</script>

<style scoped>
.source-desc {
	width: 100%;
  font-size: 16px;
  padding: 20px;
  background: #e4e4e4;
}
</style>
